import request from '@/config/axios'

export interface WalletVO {
  id: number
  code: string
  price: number
}

// 获得总分账统计
export const getDivideAllStatistics = async () => {
  return await request.get({ url: `/meijia/divide-all/get-statistics` })
}
// 获得总分账记录分页
export const getDivideAllPage = async (params) => {
  return await request.get({ url: `/meijia/divide-all/divideAllPage`, params })
}
// 修改总账单审核状态
export const updateAllCodeStatus = async (data) => {
  return await request.put({ url: `/meijia/divide-all/updateAllCodeStatus`, data })
}
// 导出微信财务账单
export const exportBillExcel = (params) => {
  return request.download({ url: '/meijia/bill/export-excel', params })
}